package wechat.entity;

import java.io.Serializable;

import wechat.util.date.DateUtil;

public class AccessTokenEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	private long id;
	private String accessToken;
	private long createTime;
	private long modifyTime;
	
	public AccessTokenEntity(){
		this.modifyTime = DateUtil.getCurrentTime();
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}

	public long getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(long modifyTime) {
		this.modifyTime = modifyTime;
	}

	@Override
	public String toString() {
		return "AccessTokenEntity [id=" + id + ", accessToken=" + accessToken + ", createTime=" + createTime
				+ ", modifyTime=" + modifyTime + "]";
	}
	
	
	
	

}
